<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const ii = [
        '张三',
        { uname: '张三', age: 18, address: '杭州' },
        { uname: '李四', age: 20, address: '上海' },
      ]
      let [a, ...b] = ii
      console.log(b)
      for (let i = 0; i < b.length; i++) {
        if (b[i].uname === '张三') {
          console.log(b[i])
        }
      }
    </script>
  </body>
</html>
